home *** CD-ROM | disk | FTP | other *** search
/ Boot Disc 13 / boot-disc-1997-09.iso / HyprWire / DATA.Z / 02 Timer.mdf < prev    next >
Text File  |  1996-11-02  |  2KB  |  106 lines

  1. kxKinetix
  2. kxType = kxSmalltalkJavaPlugIn
  3.  
  4. kxModuleDefinition Timer = 
  5.   {
  6.   kxPublicName = "Timer"
  7.   kxVersion = "1.0"
  8.   kxCreationTime = "02/18/96  12:26:15 PM"
  9.   kxAuthor = "Kinetix"
  10.   kxLargeIcon = kxBmResType "ModIcons.dll" "HOURGLS2" 0xFF00FF
  11.   kxSmallIcon = kxBmResType "ModIcons.dll" "HOURGLS1" 0xFF00FF
  12.   kxSmalltalkProxyClass = TimerBundle
  13.   kxShortDescription = "Generates events at specified intervals."
  14. //  kxHelpDoc = "http://www.hyperwire.com/helpdocs/Miscellaneoous/Timer/help.html"
  15.  
  16.     // The Java class which implements the plug-in...
  17.   kxPlugInClass = TimerPlugIn
  18.  
  19.     // The Smalltalk editor classes used to edit the properties of this plug-in...
  20.   kxPropertyEditors =  TimerEditor OpusLabelCommentEditor ModuleStateEditor PortEditor
  21.  
  22.  
  23.   kxInputPorts =
  24.     {
  25.     kxInclude "Basic.ipt"
  26.  
  27.     kxPort TimerRepeats =
  28.       {
  29.       kxJavaMethod = wiSetRepetitions
  30.       kxJavaSignature = "(I)Z"
  31.       kxPublicNames = "Number of Ticks" "integer" "Not Specified"
  32.       }
  33.  
  34.     kxPort TimerInterval =
  35.       {
  36.       kxJavaMethod = wiSetInterval
  37.       kxJavaSignature = "(D)Z"
  38.       kxPublicNames = "Timer Interval" "seconds" "Not Specified"
  39.       }
  40.  
  41.     kxPort Continuous =
  42.       {
  43.       kxJavaMethod = wiSetContinuous
  44.       kxJavaSignature = "(Z)Z"
  45.       kxPublicNames = "Continuous" "true or false" "Not Specified"
  46.       }
  47.  
  48.     kxPort Stop =
  49.       {
  50.       kxJavaMethod = wiStop
  51.       kxJavaSignature = "()Z"
  52.       kxPublicNames = "Stop" "Not Specified"
  53.       }
  54.  
  55.     kxPort Start =
  56.       {
  57.       kxJavaMethod = wiStart
  58.       kxJavaSignature = "()Z"
  59.       kxPublicNames = "Start" "Not Specified"
  60.       }
  61.  
  62.     }
  63.  
  64.  
  65.   kxInputPortsMenu =
  66.     {
  67.     Reset
  68.       kxSeparator
  69.     Start
  70.     Stop
  71.     Continuous
  72.     TimerInterval
  73.     TimerRepeats
  74.     //kxMenu "More" =
  75.       //{
  76.       kxInclude "Basic.imn"
  77.       //}
  78.     }
  79.  
  80.  
  81.   kxOutputPorts =
  82.     {
  83.     kxPort TimeOut =
  84.       {
  85.       kxJavaSignature = "()V"
  86.       kxPublicNames = "Timer Tick" "Not Specified"
  87.       }
  88.  
  89.     kxPort TimerDone =
  90.       {
  91.       kxJavaSignature = "()V"
  92.       kxPublicNames = "Timer Done" "Not Specified"
  93.       }
  94.  
  95.     }
  96.  
  97.  
  98.   kxOutputPortsMenu =
  99.     {
  100.     TimeOut
  101.     TimerDone
  102.     }
  103.  
  104.  
  105.   }
  106.